package com.campus.model.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class TCourseCreateDto {


  @ApiModelProperty("课程名称")
  @NotBlank(message = "课程名称不能为空")
  private String courseName;

  @ApiModelProperty("课程状态")
  @NotBlank(message = "课程状态不能为空")
  private String status;

  @ApiModelProperty("活动id")
  @NotNull(message = "活动id不能为空")
  private Long activityId;

  @ApiModelProperty("教师id")
  @NotNull(message = "教师id不能为空")
  private Long teacherId;

  @ApiModelProperty("班级id")
  @NotNull(message = "班级id不能为空")
  private Long classId;
}
